package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.OpenpayInfo;

import java.util.List;

public interface OpenpayInfoService {
    int insert(OpenpayInfo record);
    int updateByPrimaryKeySelective(OpenpayInfo record);
    List<OpenpayInfo> queryUserInfoByAccountId(String accountId, Long thirdUserInfoId);
    List<OpenpayInfo> queryByStatus(Integer status, Integer offset, Integer limit);
    int updateStatusByPowerId(OpenpayInfo record);

    /**
     * 更新状态 从开通中更新到其他状态 条件是
     * @param record
     * @return
     */
    int updateStatusWhereOpening(OpenpayInfo record);
}